package com.maikang.exammall.entity.dto.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginInputDTO {
    @Pattern(regexp = "1[3|4|5|7|8][0-9]\\d{8}")
    private String mobile;
    @NotBlank
    private String captchaCode;
    @NotBlank
    private String smsCode;
}
